package TextZone;

public class Triplet<S1, S2, S3> {
	private S1 a;
	private S2 b;
	private S3 c;
	public Triplet(S1 one,S2 two,S3 three){
		setA(one);
		setB(two);
		setC(three);
	}
	public void setA(S1 a) {
		this.a = a;
	}
	public S1 getA() {
		return a;
	}
	public void setB(S2 b) {
		this.b = b;
	}
	public S2 getB() {
		return b;
	}
	public void setC(S3 c) {
		this.c = c;
	}
	public S3 getC() {
		return c;
	}
	public String toString(){
		return "("+a+","+b+","+c+")";
	}
	
}
